.add-homework{
  .content-block{
    margin-top: 0.75rem;
    padding: 0;
    margin-bottom: 0;
  }
  .list-block{
    padding: 0;
    margin: 0;
  }
  .area-title{
    margin-bottom: 4px;
    padding-left: 10px;
    line-height: 0.85rem;
    position:relative;
    &:before{
      position:absolute;
      content:"";
      width: 4px;
      height: 100%;
      background-color: #0894EC;
      left: 0;
      top: -1px;
    }
  }
  .wordWrap{
    position:absolute;
    bottom: 0;
    right: 0.5rem;
    font-size:0.5rem;
    .word{
      color:red;
    }
  }
  textarea{
    padding: 0;
    font-size: 0.7rem;
    height:auto;
    overflow-y: visible;
    margin-bottom: 5px;
  }
  table{
    background: #ffffff;
    width: 100%;
    min-height:10rem;
    .t-top{
      vertical-align: top;
    }
    tr{
      border-bottom: 1px solid #e7e7e7;
      &:last-child{
        border-bottom-color:#fff;
      }
    }
    td {
      &:first-child {
        width: 30%;
      }
      padding:0.5rem;
    }
    tr:first-child{
      td:first-child{
        position:relative;
      }
    }
    tr:last-child td{
      padding: 0.5rem 0 0 0.5rem;
      height:auto;
    }
  }
  .row{
    display: flex;
    justify-content: center;
  }
}
.add-img-td{
  vertical-align: top;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  .wrap{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }
  .item-img {
    width: 25%;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-right: 0.5rem;
    padding-bottom: 0.5rem;
    .img-wrap {
      height: 100%;
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      border: 1px solid #e7e7e7;
      position: relative;
      .img-close {
        position: absolute;
        width: 1.2rem;
        height: 1.2rem;
        border-radius: 50%;
        border: 1px solid #e7e7e7;
        background-color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        top: 0;
        right: 0;
        .icon {
          font-size: 0.6rem !important;
          color:#ec9d9d;
        }
      }
    }
    img{
      width: 100%;
      max-height:100%;
    }
    &.add-img .img-wrap{
      font-size:0.5rem;
      //>div>span{
      //  position:absolute;
      //  display: block;
      //  width: 1rem;
      //  height: 1rem;
      //  top: 50%;
      //  margin-top: -0.6rem;
      //  text-align: center;
      //}
      .left{
        float: left;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        width: 50%;
        height: 100%;
        background-color: #EFEFF4;
        overflow: hidden;
        //>span{
        //  right: -0.5rem;
        //  color:#ccc !important;
        //}
      }
      .right{
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        float: left;
        width: 50%;
        height: 100%;
        flex-direction: column;
        //>span{
        //  left: -0.5rem;
        //  color:#ccc;
        //}
      }
    }
  }
}